package com.woniuxy.stage3demo.bean.kang;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class CousBean implements Serializable {

  private Long id;
  /**
   * 优惠券种类
   */
  private String couType;
  private String couName;
  /**
   * 使用平台
   */
  private String couPlat;
  private Long couNums;
  /**
   * 面额
   */
  private double couDeno;
  /**
   * 使用门槛
   */
  private double couThse;
  @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd", timezone = "GMT+8")
  private Date startTime;
  @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd", timezone = "GMT+8")
  private Date endTime;
  /**
   * 备注
   */
  private String note;
  /**
   * 库存
   */
  private Long couStock;
  private Integer status;
  private Integer delFlag;
  /**
   * 可使用商品
   */
  private Integer enablePorduct;

}
